<!DOCTYPE html>

<html>
<head>
<title>圆圈</title>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
.circle {
	margin-left: 50px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius : 5px;
	font-size: 10px;
	text-align: center;
	background-color: red;
	color: white;
}
.mini-tab-active {
	width: 64px;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.mini-tab-active:after {
    content: '';
    width: 2px;
    height: 10px;
    border: 2px solid #22E6D2;
    display: block;
    margin-top: 6px;
}
.pizhu-item {
  background-color: red;
  margin-bottom: 10px;
  padding: 10px;
  z-index: 99999;
  width: 20px;
  height: 20px;
  -ms-transform: scale(1, 1); /* IE 9 */
  -webkit-transform: scale(1, 1); /* Safari */
  transform: scale(1, 1); /* 标准语法 */
  transform-origin: 0% 0%;
  transition: transform 2s;
  -webkit-transition: transform 2s; /* Safari */
}
.pizhu-item:hover {
  -ms-transform: scale(3,3); /* IE 9 */
  -webkit-transform: scale(3,3); /* Safari */
  transform: scale(3,3); /* 标准语法 */
}
</style>
</head>
<script src="js/jquery.js"></script>
<body>
  <div class="pizhu-item"></div>
	<div class="mini-tab-active">上海出发</div>
	<span class="circle">
		999999999999999999999
	</span>
	<script type="text/javascript">
		console.log('56,90, d'.split(','),'56,90, 45d'.split(',').every(i => !isNaN(i)))
    console.log(['','1','2','3'].join(','))
		function copy() {
		    // 获取目标复制内容
		    //const txt = document.querySelector(target).innerText;
		    // 整一个input
		    var input = document.createElement("input");
		    // 赋值
		    input.setAttribute("value", '4444444444');
		    // 添加节点
		    document.body.appendChild(input);
		    // 选取文本域中的内容
		    input.select();
		    // 复制
		    document.execCommand('Copy');
		    // 删除掉没用的节点
		    document.body.removeChild(input);
		}
		function paste() {
		    // 获取目标复制内容
		    //const txt = document.querySelector(target).innerText;
		    // 整一个input
		    var input = document.createElement("input");
		    // 赋值
		    //input.setAttribute("value", '4444444444');
		    // 添加节点
		    document.body.appendChild(input);
		    // 选取文本域中的内容
		    input.focus();
		    // 复制
			console.log(document.execCommand('Paste'))
			setTimeout(()=> document.execCommand('Paste'), 100);
		    // 删除掉没用的节点
		    //document.body.removeChild(input);
		}
		var fun1 = new Promise(function(resolve) {
			resolve('a')
		});
		var fun2 = new Promise(function(resolve) {
			setTimeout(()=>resolve('b'), 1000)
		});
		async function total() {
			console.log('111111111111111111');
			console.log('22222222222222222222');
			let a = await Promise.all([fun1, fun2]);
			console.log('3333333333333333333', a);
		}
		async function vuexget() {
			let a = await Promise.all([fun1, fun2, $.ajax({ url:'temp.vue', type:'get' })]);
			console.log('1111111111111',a)
			return a;
		}
		async function vueget() {
			let a = await vuexget();
			console.log('2222222222222',a)
			return 3
		}
		let b = vueget();
		console.log('444444444444444444444', b);
		$.ajax({ url:'temp.vue', type:'get' }).then(res => console.log('返回:', res))
    let c
    for(var i=0;!!c && i<c.length;i++) {
      console.log('ss',c[i])
    }
    for(var i=0;i<c.length;i++) {
      console.log('ss',c[i])
    }
	</script>
</body>
</html>